<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>学生信息注册</title>
	<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="js/vue.js"></script>
<style type="text/css">
	#tip_s_name {
		position: absolute;
	}
</style>
</head>
<body>
	<div id="main">
		<form id="stuform" action="emp/addstu" method="post" enctype="multipart/form-data" >
			<table cellspacing="0" cellspacing="0" border="0" class="tab">
				<tr>
					<td class="td1">学&nbsp;&nbsp;号：</td>
					<td class="td2"><input type="text" name="s_id" class="s_id" readonly="readonly" style="visibility:hidden; cursor:pointer"></td>
					<td class="td3" rowspan="8" colspan="2">
						<div class="picture">
							<span>学生照片</span>
							<div class="filediv">
								<img src="" id="stuPhoto" style="width:60px">	
							</div>
							<input type="file" name="myphoto" id="file" onchange="lookphoto()"><br>
							
							<input type="button" class="btn"  onclick="file.click();" value="修改图片">&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="button" class="delPicture btn" value="删除图片">
						</div>
					</td>
				</tr>
				<tr>
					<td class="td1">姓&nbsp;&nbsp;名：</td>
					<td><input type="text" name="stuName"></td>
				</tr>
				<tr>
					<td class="td1">性&nbsp;&nbsp;别：</td>
					<td>
						<label><input type="radio" name="sex"  checked="checked" value="男">男</label>
						&nbsp;&nbsp;&nbsp;&nbsp;
						<label><input type="radio" name="sex"   value="女">女</label>
					</td>
				</tr>
				<tr>
					<td class="td1">出生日期：</td>
					<td><input type="text" name="birth" ></td>
				</tr>
				<tr>
					<td class="td1">年&nbsp;&nbsp;级：</td>
					<td>
						<input type="text" name="grade">
					</td>
				</tr>
			
				<tr id="c">
					<td class="td1">学&nbsp;&nbsp;院：</td>
					
					<td>
						<select @change="showmajor()" id="coll" name="tc.t_major.t_coll.collId">
							<option value="00" selected="selected">请选择学院</option>
							<option v-for="coll in home" :value="coll.collId">{{coll.collName}}</option>
						</select>
						
					</td>
				</tr>
			
				<tr id="m">
					<td class="td1">专&nbsp;&nbsp;业：</td>
					<td>
						<select  @change="showclass()" id="major" name="tc.t_major.majorId">
							<option value="0000" selected="selected">请选择专业</option>
							<option v-for="major in majorlist" :value="major.majorId">{{major.majorName}}</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="td1">班&nbsp;&nbsp;级：</td>
					<td>
						<select id="cls" name="tc.classId">
							<option value="00" selected="selected">请选择班级</option>
							<option v-for="cls in classlist" :value="cls.classId">{{cls.className}}</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="td1">政治面貌：</td>
					<td>
						<select  id="po" name="po">
							<option value="00" selected="selected">请选择</option>
							<option value="群众" >群众</option>
							<option value="共青团员" >共青团员</option>
							<option value="中共预备党员" >中共预备党员</option>
							<option value="中共党员" >中共党员</option>
						</select>
					</td>
					<td class="td3">入学时间：</td>
					<td><input type="text" name="enrolmentTime"></td>
				</tr>
				<tr>
					<td class="td1">家庭住址：</td>
					<td colspan="3"><input type="text" name="homeAddress"></td>
				</tr>
				<tr>
					<td class="td1">联系电话：</td>
					<td><input type="text" name="phone"></td>
					<td class="td3">电子邮件：</td>
					<td><input type="text" name="e_mail"></td>
				</tr>
				<tr>
					<td class="td1">备&nbsp;&nbsp;注：</td>
					<td colspan="3"><textarea name="remarks" cols="78" rows="8" ></textarea></td>
				</tr>
			</table>
			<input type="submit" value="注册" >&nbsp;&nbsp;
			<input type="reset" value="重置">
		</form>
	</div>
	<script type="text/javascript" src="js/stu.js"></script>
</body>

</html>